package net.gcode.sdkscheduleparser.core.write;

import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;

public class Writer {

	public static void write(String filename, String cal) throws IOException {
		BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(
				filename), "UTF8"));
		out.write(cal);
		out.close();
	}
}
